<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class ShopsPaymentMethods extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    
    // 设置当前模型对应的完整数据表名称
    protected $table = 'shop_payment_methods';

    // 设置字段信息
    protected $schema = [
        'shop_id'       => 'integer',
        'method_id'     => 'integer',
        'status'        => 'boolean',
        'pay_rate'      => 'float',
        'create_time'   => 'datetime'
    ];
}
